home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / Xm / XmListGetSelectedPos.z / XmListGetSelectedPos
Text File  |  1998-10-30  |  4KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmLLLLiiiissssttttGGGGeeeettttSSSSeeeelllleeeecccctttteeeeddddPPPPoooossss((((3333XXXX))))  UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV  XXXXmmmmLLLLiiiissssttttGGGGeeeettttSSSSeeeelllleeeecccctttteeeeddddPPPPoooossss((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXmmmmLLLLiiiissssttttGGGGeeeettttSSSSeeeelllleeeecccctttteeeeddddPPPPoooossss - A List function that returns the
  10.           position of every selected item in the list
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           #include <Xm/List.h>
  14.           BBBBoooooooolllleeeeaaaannnn XXXXmmmmLLLLiiiissssttttGGGGeeeettttSSSSeeeelllleeeecccctttteeeeddddPPPPoooossss(
  15.           WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt,
  16.           iiiinnnntttt ********ppppoooossssiiiittttiiiioooonnnn____lllliiiisssstttt,
  17.           iiiinnnntttt ****ppppoooossssiiiittttiiiioooonnnn____ccccoooouuuunnnntttt);
  18.  
  19.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  20.           This page documents Motif 2.1.
  21.  
  22.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  23.           This routine is obsolete. It is replaced by calling
  24.           XXXXttttGGGGeeeettttVVVVaaaalllluuuueeeessss for the List resources XXXXmmmmNNNNsssseeeelllleeeecccctttteeeeddddPPPPoooossssiiiittttiiiioooonnnnssss and
  25.           XXXXmmmmNNNNsssseeeelllleeeecccctttteeeeddddPPPPoooossssiiiittttiiiioooonnnnCCCCoooouuuunnnntttt.  XXXXmmmmLLLLiiiissssttttGGGGeeeettttSSSSeeeelllleeeecccctttteeeeddddPPPPoooossss is a Boolean
  26.           function that returns an array of the positions of the
  27.           selected items in a List.
  28.  
  29.           _w_i_d_g_e_t    Specifies the ID of the List widget.
  30.  
  31.           _p_o_s_i_t_i_o_n__l_i_s_t
  32.                     Returns an array of the positions of the selected
  33.                     items in the List.  The position of the first item
  34.                     in the list is 1; the position of the second item
  35.                     is 2; and so on.  When the return value is True,
  36.                     XXXXmmmmLLLLiiiissssttttGGGGeeeettttSSSSeeeelllleeeecccctttteeeeddddPPPPoooossss allocates memory for this
  37.                     array.  The caller is responsible for freeing this
  38.                     memory.  The caller can recover the allocated
  39.                     memory by calling XXXXttttFFFFrrrreeeeeeee.
  40.  
  41.           _p_o_s_i_t_i_o_n__c_o_u_n_t
  42.                     Returns the number of elements in the
  43.                     _p_o_s_i_t_i_o_n__l_i_s_t.
  44.  
  45.           For a complete definition of List and its associated
  46.           resources, see XXXXmmmmLLLLiiiisssstttt(3).
  47.  
  48.      RRRREEEETTTTUUUURRRRNNNN
  49.           Returns True if the list has any selected items, and False
  50.           if it does not.
  51.  
  52.      RRRREEEELLLLAAAATTTTEEEEDDDD
  53.           XXXXmmmmLLLLiiiisssstttt(3).
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                         (printed 10/24/98)
  64.  
  65.  
  66.  
  67.